export default {
  name: 'Abstract Console',
  copyrightText: `&copy; 2025-${new Date().getFullYear()} Wyatt`,
  basicColor: {
    primary: '#409eff', // #409eff
    success: '#67c23a', // #67c23a
    warning: '#e6a23c', // #e6a23c
    danger: '#f56c6c', // #f56c6c
    error: '#f56c6c', // #f56c6c
    info: '#909399', // #909399
    background: '#f2f3f5' // #f2f3f5
  },
  termsOfUseSettled: false,
  privacyPolicySettled: false,
  portal: {
    coverTitle: 'Abstract Console',
    coverTitleSize: '5rem',
    coverTitleColor: '#303133',
    coverSubTitle: '一款开源的支持快速配置的管理台脚手架',
    coverSubTitleSize: '2rem',
    coverSubTitleColor: '#303133',
    // 用户名默认格式：大小写字母、数字、下划线，5～30位，必须以字母开头
    minUsernameLen: 5,
    maxUsernameLen: 30,
    usernameRegexp: /^[a-zA-Z][a-zA-Z_0-9]{4,29}$/,
    usernameTips: '仅限大写、小写字母，数字，下划线(_)，必须以字母开头',
    // 密码默认：大小写字母、数字、下划线，特殊字符.~!@#$%^&*?，6～50位
    minPasswordLen: 6,
    maxPasswordLen: 50,
    passwordRegexp: /^[a-zA-Z_0-9.~!@#$%^&*?]{6,50}$/,
    passwordTips: '仅限大写、小写字母，数字，下划线(_)，特殊字符(.~!@#$%^&*?)'
  },
  layout: {
    logoTitle: 'Abstract Console',
    logoTitleSize: '1.8rem',
    logoTitleWeight: '700',
    logoTitleColor: '#ffffff',
    menuBackground: '#384e6a',
    menuHoverColor: '#263445',
    menuTextColor: '#aab9ca',
    menuActiveTextColor: '#409eff',
    menuActiveSubMenuTextColor: '#ffffff',
    tagbarActiveTagColor: '#384e6a'
  },
  openLog: false,
  http: {
    baseUrl: '/api',
    timeoutInMs: 30000,
    mockAll: false,
    mockOnDemand: false,
    api: {
      reserved: {
        getCaptcha: { desc: '获取验证码', url: '/system/captcha/getCaptcha', mock: false },
        login: { desc: '用户登录', url: '/system/user/login', method: 'post', mock: false },
        register: { desc: '注册新用户', url: '/system/user/register', method: 'post', mock: false },
        logout: { desc: '退出登录', url: '/system/user/logout', mock: false },
        resetPassword: { desc: '重置密码', url: '/system/user/resetPassword', mock: false },
        sendEmailCode: { desc: '发送邮件校验码', url: '/system/email/sendEmailCode', mock: false },
        checkEmailCode: { desc: '校验邮件校验码', url: '/system/email/checkEmailCode', mock: false }
      },
      custom: {}
    }
  },
  icons: {},
  custom: {}
}
